#include <stdio.h>
#include "de.h"
#include "plateau.h"
#include "pion.h"
#include "sdljeu.h"

// printf("%d ", courrier.numero_carte);
int main () {

CarteTransaction transaction1, t2 ;
ListeTransaction L ;
StockCarteTransaction S;

InitialiserTabDynT(&S);
ImplementeListeT (&L);

transaction1=RecupererPremiereCarteT (&L);
printf("%d ", transaction1.numero_carte);
printf("%d ", transaction1.prix_achat);
printf("%d ", transaction1.prix_paye);

AjouterElementTabDynT(&S, transaction1);



transaction1=ValeurIemeElementTabDynT(&S,0);
printf("%d ", transaction1.numero_carte);
printf("%d ", transaction1.prix_achat);
printf("%d ", transaction1.prix_paye);



return 0 ; }
